home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.1.5 / greprefs / all.js next >
Text File  |  2009-11-09  |  68KB  |  1,497 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Mozilla Public License Version
  6.  * 1.1 (the "License"); you may not use this file except in compliance with
  7.  * the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/MPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is mozilla.org code.
  16.  *
  17.  * The Initial Developer of the Original Code is
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *   Benjamin Smedberg <bsmedberg@covad.net>
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. /* The prefs in this file are shipped with the GRE and should apply to all
  40.  * embedding situations. Application-specific preferences belong somewhere else,
  41.  * for example xpfe/bootstrap/browser-prefs.js
  42.  *
  43.  * Platform-specific #ifdefs at the end of this file override the generic
  44.  * entries at the top.
  45.  */
  46.  
  47. // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
  48. //  The first character after a period must be alphabetic.
  49.  
  50. pref("keyword.URL", "http://www.google.com/search?ie=UTF-8&oe=utf-8&q=");
  51. pref("keyword.enabled", false);
  52. pref("general.useragent.locale", "chrome://global/locale/intl.properties");
  53.  
  54. pref("general.config.obscure_value", 13); // for MCD .cfg files
  55.  
  56. pref("general.warnOnAboutConfig", true);
  57.  
  58. // maximum number of dated backups to keep at any time
  59. pref("browser.bookmarks.max_backups",       5);
  60.  
  61. pref("browser.cache.disk.enable",           true);
  62. pref("browser.cache.disk.capacity",         51200);
  63. pref("browser.cache.memory.enable",         true);
  64. //pref("browser.cache.memory.capacity",     -1);
  65. // -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
  66. pref("browser.cache.disk_cache_ssl",        false);
  67. // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
  68. pref("browser.cache.check_doc_frequency",   3);
  69.  
  70. pref("browser.cache.offline.enable",           true);
  71. // offline cache capacity in kilobytes
  72. pref("browser.cache.offline.capacity",         512000);
  73.  
  74. // offline apps should be limited to this much data in global storage
  75. // (in kilobytes)
  76. pref("offline-apps.quota.max",        204800);
  77.  
  78. // the user should be warned if offline app disk usage exceeds this amount
  79. // (in kilobytes)
  80. pref("offline-apps.quota.warn",        51200);
  81.  
  82. // Fastback caching - if this pref is negative, then we calculate the number
  83. // of content viewers to cache based on the amount of available memory.
  84. pref("browser.sessionhistory.max_total_viewers", -1);
  85.  
  86. pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
  87. pref("browser.display.use_document_colors", true);
  88. pref("browser.display.use_system_colors",   false);
  89. pref("browser.display.foreground_color",    "#000000");
  90. pref("browser.display.background_color",    "#FFFFFF");
  91. pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
  92. // 0 = no external leading, 
  93. // 1 = use external leading only when font provides, 
  94. // 2 = add extra leading both internal leading and external leading are zero
  95. pref("browser.display.normal_lineheight_calc_control", 2);
  96. pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
  97. // min font device pixel size at which to turn on high quality
  98. pref("browser.display.auto_quality_min_font_size", 20);
  99. pref("browser.anchor_color",                "#0000EE");
  100. pref("browser.active_color",                "#EE0000");
  101. pref("browser.visited_color",               "#551A8B");
  102. pref("browser.underline_anchors",           true);
  103. pref("browser.blink_allowed",               true);
  104. pref("browser.enable_automatic_image_resizing", false);
  105.  
  106. // See http://whatwg.org/specs/web-apps/current-work/#ping
  107. pref("browser.send_pings", false);
  108. pref("browser.send_pings.max_per_link", 1);           // limit the number of pings that are sent per link click
  109. pref("browser.send_pings.require_same_host", false);  // only send pings to the same host if this is true
  110.  
  111. pref("browser.display.use_focus_colors",    false);
  112. pref("browser.display.focus_background_color", "#117722");
  113. pref("browser.display.focus_text_color",     "#ffffff");
  114. pref("browser.display.focus_ring_width",     1);
  115. pref("browser.display.focus_ring_on_anything", false);
  116. // focus ring border style.
  117. // 0 = solid border, 1 = dotted border
  118. pref("browser.display.focus_ring_style", 1);
  119.  
  120. pref("browser.helperApps.alwaysAsk.force",  false);
  121. pref("browser.helperApps.neverAsk.saveToDisk", "");
  122. pref("browser.helperApps.neverAsk.openFile", "");
  123.  
  124. // xxxbsmedberg: where should prefs for the toolkit go?
  125. pref("browser.chrome.toolbar_tips",         true);
  126. // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
  127. pref("browser.chrome.toolbar_style",        2);
  128. // max image size for which it is placed in the tab icon for tabbrowser.
  129. // if 0, no images are used for tab icons for image documents.
  130. pref("browser.chrome.image_icons.max_size", 1024);
  131.  
  132. pref("browser.triple_click_selects_paragraph", true);
  133.  
  134. // When loading <video> or <audio>, check for Access-Control-Allow-Origin
  135. // header, and disallow the connection if not present or permitted.
  136. pref("media.enforce_same_site_origin", false);
  137.  
  138. // Media cache size in kilobytes
  139. pref("media.cache_size", 51200);
  140.  
  141. //@line 142 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  142. pref("media.ogg.enabled", true);
  143. //@line 145 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  144. pref("media.wave.enabled", true);
  145. //@line 147 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  146.  
  147. // Whether to autostart a media element with an |autoplay| attribute
  148. pref("media.autoplay.enabled", true);
  149.  
  150. // 0 = Off, 1 = Full, 2 = Tagged Images Only. 
  151. // See eCMSMode in gfx/thebes/public/gfxPlatform.h
  152. pref("gfx.color_management.mode", 2);
  153. pref("gfx.color_management.display_profile", "");
  154. pref("gfx.color_management.rendering_intent", 0);
  155.  
  156. pref("gfx.downloadable_fonts.enabled", true);
  157.  
  158. pref("accessibility.browsewithcaret", false);
  159. pref("accessibility.warn_on_browsewithcaret", true);
  160.  
  161. //@line 163 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  162. // Tab focus model bit field:
  163. // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
  164. // Most users will want 1, 3, or 7.
  165. // On OS X, we use Full Keyboard Access system preference,
  166. // unless accessibility.tabfocus is set by the user.
  167. pref("accessibility.tabfocus", 7);
  168. pref("accessibility.tabfocus_applies_to_xul", false);
  169.  
  170. // On OS X, we follow the "Click in the scrollbar to:" system preference
  171. // unless this preference was set manually
  172. pref("ui.scrollToClick", 0);
  173.  
  174. //@line 179 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  175.  
  176. pref("accessibility.usetexttospeech", "");
  177. pref("accessibility.usebrailledisplay", "");
  178. pref("accessibility.accesskeycausesactivation", true);
  179.  
  180. // Type Ahead Find
  181. pref("accessibility.typeaheadfind", true);
  182. pref("accessibility.typeaheadfind.autostart", true);
  183. // casesensitive: controls the find bar's case-sensitivity
  184. //     0 - "never"  (case-insensitive)
  185. //     1 - "always" (case-sensitive)
  186. // other - "auto"   (case-sensitive for mixed-case input, insensitive otherwise)
  187. pref("accessibility.typeaheadfind.casesensitive", 0);
  188. pref("accessibility.typeaheadfind.linksonly", true);
  189. pref("accessibility.typeaheadfind.startlinksonly", false);
  190. pref("accessibility.typeaheadfind.timeout", 4000);
  191. pref("accessibility.typeaheadfind.enabletimeout", true);
  192. pref("accessibility.typeaheadfind.soundURL", "beep");
  193. pref("accessibility.typeaheadfind.enablesound", true);
  194. pref("accessibility.typeaheadfind.prefillwithselection", true);
  195.  
  196. // use Mac OS X Appearance panel text smoothing setting when rendering text, disabled by default
  197. pref("gfx.use_text_smoothing_setting", false);
  198.  
  199. pref("browser.history_expire_days", 9);
  200.  
  201. // loading and rendering of framesets and iframes
  202. pref("browser.frames.enabled", true);
  203.  
  204. // form submission
  205. pref("browser.forms.submit.backwards_compatible", true);
  206.  
  207. // Number of characters to consider emphasizing for rich autocomplete results
  208. pref("toolkit.autocomplete.richBoundaryCutoff", 200);
  209.  
  210. pref("toolkit.scrollbox.smoothScroll", true);
  211. pref("toolkit.scrollbox.scrollIncrement", 20);
  212. pref("toolkit.scrollbox.clickToScroll.scrollDelay", 150);
  213.  
  214. // view source
  215. pref("view_source.syntax_highlight", true);
  216. pref("view_source.wrap_long_lines", false);
  217. pref("view_source.editor.external", false);
  218. pref("view_source.editor.path", "");
  219. // allows to add further arguments to the editor; use the %LINE% placeholder
  220. // for jumping to a specific line (e.g. "/line:%LINE%" or "--goto %LINE%")
  221. pref("view_source.editor.args", "");
  222.  
  223. // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
  224. pref("nglayout.events.dispatchLeftClickOnly", true);
  225.  
  226. // whether or not to draw images while dragging
  227. pref("nglayout.enable_drag_images", true);
  228.  
  229. // whether or not to use xbl form controls
  230. pref("nglayout.debug.enable_xbl_forms", false);
  231.  
  232. // scrollbar snapping region
  233. // 0 - off
  234. // 1 and higher - slider thickness multiple
  235. pref("slider.snapMultiplier", 0);
  236.  
  237. // option to choose plug-in finder
  238. pref("application.use_ns_plugin_finder", false);
  239.  
  240. // URI fixup prefs
  241. pref("browser.fixup.alternate.enabled", true);
  242. pref("browser.fixup.alternate.prefix", "www.");
  243. pref("browser.fixup.alternate.suffix", ".com");
  244. pref("browser.fixup.hide_user_pass", true);
  245.  
  246. // Location Bar AutoComplete
  247. pref("browser.urlbar.autocomplete.enabled", true);
  248.  
  249. // Print header customization
  250. // Use the following codes:
  251. // &T - Title
  252. // &U - Document URL
  253. // &D - Date/Time
  254. // &P - Page Number
  255. // &PT - Page Number "of" Page total
  256. // Set each header to a string containing zero or one of these codes
  257. // and the code will be replaced in that string by the corresponding data
  258. pref("print.print_headerleft", "&T");
  259. pref("print.print_headercenter", "");
  260. pref("print.print_headerright", "&U");
  261. pref("print.print_footerleft", "&PT");
  262. pref("print.print_footercenter", "");
  263. pref("print.print_footerright", "&D");
  264. pref("print.show_print_progress", true);
  265.  
  266. // xxxbsmedberg: more toolkit prefs
  267.  
  268. // When this is set to false each window has its own PrintSettings
  269. // and a change in one window does not affect the others
  270. pref("print.use_global_printsettings", true);
  271.  
  272. // Save the Printings after each print job
  273. pref("print.save_print_settings", true);
  274.  
  275. pref("print.whileInPrintPreview", true);
  276.  
  277. // Cache old Presentation when going into Print Preview
  278. pref("print.always_cache_old_pres", false);
  279.  
  280. // Enables you to specify the amount of the paper that is to be treated
  281. // as unwriteable.  The print_edge_XXX and print_margin_XXX preferences
  282. // are treated as offsets that are added to this pref.
  283. // Default is "-1", which means "use the system default".  (If there is
  284. // no system default, then the -1 is treated as if it were 0.)
  285. // This is used by both Printing and Print Preview.
  286. // Units are in 1/100ths of an inch.
  287. pref("print.print_unwriteable_margin_top",    -1);
  288. pref("print.print_unwriteable_margin_left",   -1);
  289. pref("print.print_unwriteable_margin_right",  -1);
  290. pref("print.print_unwriteable_margin_bottom", -1);
  291.  
  292. // Enables you to specify the gap from the edge of the paper's 
  293. // unwriteable area to the margin.
  294. // This is used by both Printing and Print Preview
  295. // Units are in 1/100ths of an inch.
  296. pref("print.print_edge_top", 0);
  297. pref("print.print_edge_left", 0);
  298. pref("print.print_edge_right", 0);
  299. pref("print.print_edge_bottom", 0);
  300.  
  301. // Pref used by the spellchecker extension to control the 
  302. // maximum number of misspelled words that will be underlined
  303. // in a document.
  304. pref("extensions.spellcheck.inline.max-misspellings", 500);
  305.  
  306. // Prefs used by libeditor. Prefs specific to seamonkey composer
  307. // belong in comm-central/editor/ui/composer.js
  308.  
  309. pref("editor.use_custom_colors", false);
  310. pref("editor.htmlWrapColumn", 72);
  311. pref("editor.singleLine.pasteNewlines",     1);
  312. pref("editor.quotesPreformatted",            false);
  313. pref("editor.use_css",                       true);
  314. pref("editor.css.default_length_unit",       "px");
  315. pref("editor.resizing.preserve_ratio",       true);
  316. pref("editor.positioning.offset",            0);
  317.  
  318.  
  319. // Default Capability Preferences: Security-Critical! 
  320. // Editing these may create a security risk - be sure you know what you're doing
  321. //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
  322.  
  323. pref("capability.policy.default_policynames", "mailnews");
  324.  
  325. pref("capability.policy.default.DOMException.code", "allAccess");
  326. pref("capability.policy.default.DOMException.message", "allAccess");
  327. pref("capability.policy.default.DOMException.name", "allAccess");
  328. pref("capability.policy.default.DOMException.result", "allAccess");
  329. pref("capability.policy.default.DOMException.toString.get", "allAccess");
  330.  
  331. pref("capability.policy.default.History.back.get", "allAccess");
  332. pref("capability.policy.default.History.current", "UniversalBrowserRead");
  333. pref("capability.policy.default.History.forward.get", "allAccess");
  334. pref("capability.policy.default.History.go.get", "allAccess");
  335. pref("capability.policy.default.History.item", "UniversalBrowserRead");
  336. pref("capability.policy.default.History.next", "UniversalBrowserRead");
  337. pref("capability.policy.default.History.previous", "UniversalBrowserRead");
  338. pref("capability.policy.default.History.toString", "UniversalBrowserRead");
  339.  
  340. pref("capability.policy.default.Location.hash.set", "allAccess");
  341. pref("capability.policy.default.Location.href.set", "allAccess");
  342. pref("capability.policy.default.Location.replace.get", "allAccess");
  343.  
  344. pref("capability.policy.default.Navigator.preference", "allAccess");
  345. pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
  346. pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
  347.  
  348. pref("capability.policy.default.Window.blur.get", "allAccess");
  349. pref("capability.policy.default.Window.close.get", "allAccess");
  350. pref("capability.policy.default.Window.closed.get", "allAccess");
  351. pref("capability.policy.default.Window.focus.get", "allAccess");
  352. pref("capability.policy.default.Window.frames.get", "allAccess");
  353. pref("capability.policy.default.Window.history.get", "allAccess");
  354. pref("capability.policy.default.Window.length.get", "allAccess");
  355. pref("capability.policy.default.Window.location", "allAccess");
  356. pref("capability.policy.default.Window.opener.get", "allAccess");
  357. pref("capability.policy.default.Window.parent.get", "allAccess");
  358. pref("capability.policy.default.Window.postMessage.get", "allAccess");
  359. pref("capability.policy.default.Window.self.get", "allAccess");
  360. pref("capability.policy.default.Window.top.get", "allAccess");
  361. pref("capability.policy.default.Window.window.get", "allAccess");
  362.  
  363. pref("capability.policy.default.Selection.addSelectionListener", "UniversalXPConnect");
  364. pref("capability.policy.default.Selection.removeSelectionListener", "UniversalXPConnect");
  365.  
  366. // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
  367. pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
  368.  
  369. pref("capability.policy.mailnews.*.attributes.get", "noAccess");
  370. pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
  371. pref("capability.policy.mailnews.*.data.get", "noAccess");
  372. pref("capability.policy.mailnews.*.getAttribute", "noAccess");
  373. pref("capability.policy.mailnews.HTMLDivElement.getAttribute", "sameOrigin");
  374. pref("capability.policy.mailnews.*.getAttributeNS", "noAccess");
  375. pref("capability.policy.mailnews.*.getAttributeNode", "noAccess");
  376. pref("capability.policy.mailnews.*.getAttributeNodeNS", "noAccess");
  377. pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
  378. pref("capability.policy.mailnews.*.getNamedItemNS", "noAccess");
  379. pref("capability.policy.mailnews.*.host.get", "noAccess");
  380. pref("capability.policy.mailnews.*.hostname.get", "noAccess");
  381. pref("capability.policy.mailnews.*.href.get", "noAccess");
  382. pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
  383. pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
  384. pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
  385. pref("capability.policy.mailnews.*.pathname.get", "noAccess");
  386. pref("capability.policy.mailnews.*.protocol.get", "noAccess");
  387. pref("capability.policy.mailnews.*.src.get", "noAccess");
  388. pref("capability.policy.mailnews.*.substringData.get", "noAccess");
  389. pref("capability.policy.mailnews.*.text.get", "noAccess");
  390. pref("capability.policy.mailnews.*.textContent", "noAccess");
  391. pref("capability.policy.mailnews.*.title.get", "noAccess");
  392. pref("capability.policy.mailnews.*.wholeText", "noAccess");
  393. pref("capability.policy.mailnews.DOMException.toString", "noAccess");
  394. pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
  395. pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
  396. pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
  397. pref("capability.policy.mailnews.*.documentURI", "noAccess");
  398. pref("capability.policy.mailnews.Location.toString", "noAccess");
  399. pref("capability.policy.mailnews.Range.toString", "noAccess");
  400. pref("capability.policy.mailnews.Window.blur", "noAccess");
  401. pref("capability.policy.mailnews.Window.focus", "noAccess");
  402. pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
  403. pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
  404. pref("capability.policy.mailnews.Window.moveBy", "noAccess");
  405. pref("capability.policy.mailnews.Window.moveTo", "noAccess");
  406. pref("capability.policy.mailnews.Window.name.set", "noAccess");
  407. pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
  408. pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
  409. pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
  410. pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
  411. pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
  412. pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
  413. pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
  414. pref("capability.policy.mailnews.document.load", "noAccess");
  415. pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
  416. pref("capability.policy.mailnews.XMLHttpRequest.getInterface", "noAccess");
  417. pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
  418. pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
  419. pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
  420. pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
  421. pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
  422. pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
  423. pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
  424. pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
  425. pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
  426. pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
  427. pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
  428. pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
  429. pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
  430. pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
  431. pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
  432. pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
  433. pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
  434. pref("capability.policy.mailnews.DOMParser.parseFromString", "noAccess");
  435. pref("capability.policy.mailnews.DOMParser.parseFromStream", "noAccess");
  436. pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
  437. pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
  438. pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
  439. pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
  440. pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
  441. pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
  442. pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
  443. pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
  444. pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
  445. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  446. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  447. pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
  448. pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
  449. pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
  450. pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
  451. pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
  452. pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
  453. pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
  454. pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
  455. pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
  456. pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
  457. pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
  458. pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
  459. pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
  460. pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
  461. pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
  462. pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
  463. pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
  464. pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
  465. pref("capability.policy.mailnews.SOAPParameter", "noAccess");
  466. pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
  467. pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
  468. pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
  469. pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
  470. pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
  471. pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
  472. pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
  473. pref("capability.policy.mailnews.WSDLLoader.load", "noAccess");
  474. pref("capability.policy.mailnews.WSDLLoader.loadAsync", "noAccess");
  475. pref("capability.policy.mailnews.WSDLLoader.onLoad", "noAccess");
  476. pref("capability.policy.mailnews.WSDLLoader.onError", "noAccess");
  477. pref("capability.policy.mailnews.WebServiceProxyFactory.createProxy", "noAccess");
  478. pref("capability.policy.mailnews.WebServiceProxyFactory.createProxyAsync", "noAccess");
  479. pref("capability.policy.mailnews.WebServiceProxyFactory.onLoad", "noAccess");
  480. pref("capability.policy.mailnews.WebServiceProxyFactory.onError", "noAccess");
  481.  
  482. // XMLExtras
  483. pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
  484. pref("capability.policy.default.XMLHttpRequest.getInterface", "noAccess");
  485. pref("capability.policy.default.XMLHttpRequest.open-uri", "allAccess");
  486. pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
  487.  
  488. // Clipboard
  489. pref("capability.policy.default.Clipboard.cutcopy", "noAccess");
  490. pref("capability.policy.default.Clipboard.paste", "noAccess");
  491.  
  492. // Scripts & Windows prefs
  493. pref("dom.disable_image_src_set",           false);
  494. pref("dom.disable_window_flip",             false);
  495. pref("dom.disable_window_move_resize",      false);
  496. pref("dom.disable_window_status_change",    false);
  497.  
  498. pref("dom.disable_window_open_feature.titlebar",    false);
  499. pref("dom.disable_window_open_feature.close",       false);
  500. pref("dom.disable_window_open_feature.toolbar",     false);
  501. pref("dom.disable_window_open_feature.location",    false);
  502. pref("dom.disable_window_open_feature.directories", false);
  503. pref("dom.disable_window_open_feature.personalbar", false);
  504. pref("dom.disable_window_open_feature.menubar",     false);
  505. pref("dom.disable_window_open_feature.scrollbars",  false);
  506. pref("dom.disable_window_open_feature.resizable",   true);
  507. pref("dom.disable_window_open_feature.minimizable", false);
  508. pref("dom.disable_window_open_feature.status",      true);
  509.  
  510. pref("dom.allow_scripts_to_close_windows",          false);
  511.  
  512. pref("dom.disable_open_during_load",                false);
  513. pref("dom.popup_maximum",                           20);
  514. pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit");
  515. pref("dom.disable_open_click_delay", 1000);
  516.  
  517. pref("dom.storage.enabled", true);
  518. pref("dom.storage.default_quota",      5120);
  519.  
  520. // Parsing perf prefs. For now just mimic what the old code did.
  521. pref("content.sink.event_probe_rate", 3);
  522. //@line 527 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  523. pref("content.sink.pending_event_mode", 0);
  524. //@line 529 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  525.  
  526. // Disable popups from plugins by default
  527. //   0 = openAllowed
  528. //   1 = openControlled
  529. //   2 = openAbused
  530. pref("privacy.popups.disable_from_plugins", 2);
  531.  
  532. pref("dom.event.contextmenu.enabled",       true);
  533.  
  534. pref("javascript.enabled",                  true);
  535. pref("javascript.allow.mailnews",           false);
  536. pref("javascript.options.strict",           false);
  537. pref("javascript.options.relimit",          false);
  538. pref("javascript.options.jit.content",      true);
  539. pref("javascript.options.jit.chrome",       false);
  540.  
  541. // advanced prefs
  542. pref("security.enable_java",                true);
  543. pref("advanced.mailftp",                    false);
  544. pref("image.animation_mode",                "normal");
  545.  
  546. // Same-origin policy for file URIs, "false" is traditional
  547. pref("security.fileuri.strict_origin_policy", true);
  548.  
  549. // If there is ever a security firedrill that requires
  550. // us to block certian ports global, this is the pref 
  551. // to use.  Is is a comma delimited list of port numbers
  552. // for example:
  553. //   pref("network.security.ports.banned", "1,2,3,4,5");
  554. // prevents necko connecting to ports 1-5 unless the protocol
  555. // overrides.
  556.  
  557. // Default action for unlisted external protocol handlers
  558. pref("network.protocol-handler.external-default", true);      // OK to load
  559. pref("network.protocol-handler.warn-external-default", true); // warn before load
  560.  
  561. // Prevent using external protocol handlers for these schemes
  562. pref("network.protocol-handler.external.hcp", false);
  563. pref("network.protocol-handler.external.vbscript", false);
  564. pref("network.protocol-handler.external.javascript", false);
  565. pref("network.protocol-handler.external.data", false);
  566. pref("network.protocol-handler.external.ms-help", false);
  567. pref("network.protocol-handler.external.shell", false);
  568. pref("network.protocol-handler.external.vnd.ms.radio", false);
  569. //@line 576 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  570. pref("network.protocol-handler.external.disk", false);
  571. pref("network.protocol-handler.external.disks", false);
  572. pref("network.protocol-handler.external.afp", false);
  573. pref("network.protocol-handler.external.moz-icon", false);
  574.  
  575. // An exposed protocol handler is one that can be used in all contexts.  A
  576. // non-exposed protocol handler is one that can only be used internally by the
  577. // application.  For example, a non-exposed protocol would not be loaded by the
  578. // application in response to a link click or a X-remote openURL command.
  579. // Instead, it would be deferred to the system's external protocol handler.
  580. // Only internal/built-in protocol handlers can be marked as exposed.
  581.  
  582. // This pref controls the default settings.  Per protocol settings can be used
  583. // to override this value.
  584. pref("network.protocol-handler.expose-all", true);
  585.  
  586. // Example: make IMAP an exposed protocol
  587. // pref("network.protocol-handler.expose.imap", true);
  588.  
  589. pref("network.hosts.smtp_server",           "mail");
  590. pref("network.hosts.pop_server",            "mail");
  591.  
  592. // <http>
  593. pref("network.http.version", "1.1");      // default
  594. // pref("network.http.version", "1.0");   // uncomment this out in case of problems
  595. // pref("network.http.version", "0.9");   // it'll work too if you're crazy
  596. // keep-alive option is effectively obsolete. Nevertheless it'll work with
  597. // some older 1.0 servers:
  598.  
  599. pref("network.http.proxy.version", "1.1");    // default
  600. // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
  601.                                               // (required if using junkbuster proxy)
  602.  
  603. // enable caching of http documents
  604. pref("network.http.use-cache", true);
  605.  
  606. // this preference can be set to override the socket type used for normal
  607. // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
  608. pref("network.http.default-socket-type", "");
  609.  
  610. pref("network.http.keep-alive", true); // set it to false in case of problems
  611. pref("network.http.proxy.keep-alive", true);
  612. pref("network.http.keep-alive.timeout", 300);
  613.  
  614. // limit the absolute number of http connections.
  615. pref("network.http.max-connections", 30);
  616.  
  617. // limit the absolute number of http connections that can be established per
  618. // host.  if a http proxy server is enabled, then the "server" is the proxy
  619. // server.  Otherwise, "server" is the http origin server.
  620. pref("network.http.max-connections-per-server", 15);
  621.  
  622. // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
  623. // a new connection will only be attempted if the number of active persistent
  624. // connections to the server is less then max-persistent-connections-per-server.
  625. pref("network.http.max-persistent-connections-per-server", 6);
  626.  
  627. // if network.http.keep-alive is true, and if connecting via a proxy, then a
  628. // new connection will only be attempted if the number of active persistent
  629. // connections to the proxy is less then max-persistent-connections-per-proxy.
  630. pref("network.http.max-persistent-connections-per-proxy", 8);
  631.  
  632. // amount of time (in seconds) to suspend pending requests, before spawning a
  633. // new connection, once the limit on the number of persistent connections per
  634. // host has been reached.  however, a new connection will not be created if
  635. // max-connections or max-connections-per-server has also been reached.
  636. pref("network.http.request.max-start-delay", 10);
  637.  
  638. // Headers
  639. pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
  640. pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
  641.  
  642. // Controls whether we send HTTPS referres to other HTTPS sites.
  643. // By default this is enabled for compatibility (see bug 141641)
  644. pref("network.http.sendSecureXSiteReferrer", true);
  645.  
  646. // Maximum number of consecutive redirects before aborting.
  647. pref("network.http.redirection-limit", 20);
  648.  
  649. // Enable http compression: comment this out in case of problems with 1.1
  650. // NOTE: support for "compress" has been disabled per bug 196406.
  651. pref("network.http.accept-encoding" ,"gzip,deflate");
  652.  
  653. pref("network.http.pipelining"      , false);
  654. pref("network.http.pipelining.ssl"  , false); // disable pipelining over SSL
  655. pref("network.http.proxy.pipelining", false);
  656.  
  657. // Max number of requests in the pipeline
  658. pref("network.http.pipelining.maxrequests" , 4);
  659.  
  660. // Prompt for 307 redirects
  661. pref("network.http.prompt-temp-redirect", true);
  662.  
  663. // </http>
  664.  
  665. // If false, remote JAR files that are served with a content type other than
  666. // application/java-archive or application/x-jar will not be opened
  667. // by the jar channel.
  668. pref("network.jar.open-unsafe-types", false);
  669.  
  670. // This preference controls whether or not internationalized domain names (IDN)
  671. // are handled.  IDN requires a nsIIDNService implementation.
  672. pref("network.enableIDN", true);
  673.  
  674. // This preference, if true, causes all UTF-8 domain names to be normalized to
  675. // punycode.  The intention is to allow UTF-8 domain names as input, but never
  676. // generate them from punycode.
  677. pref("network.IDN_show_punycode", false);
  678.  
  679. // TLDs with "network.IDN.whitelist.tld" explicitly set to true are treated as 
  680. // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
  681. // for displaying them in the UI (e.g. URL bar). Note that these preferences
  682. // are referred to ONLY when "network.IDN_show_punycode" is false. In other
  683. // words, all IDNs will be shown in punycode if "network.IDN_show_punycode"
  684. // is true.
  685.  
  686. // ccTLDs
  687. pref("network.IDN.whitelist.ac", true);
  688. pref("network.IDN.whitelist.ar", true);
  689. pref("network.IDN.whitelist.at", true);
  690. pref("network.IDN.whitelist.br", true);
  691. pref("network.IDN.whitelist.ch", true);
  692. pref("network.IDN.whitelist.cl", true);
  693. pref("network.IDN.whitelist.cn", true);
  694. pref("network.IDN.whitelist.de", true);
  695. pref("network.IDN.whitelist.dk", true);
  696. pref("network.IDN.whitelist.es", true);
  697. pref("network.IDN.whitelist.fi", true);
  698. pref("network.IDN.whitelist.gr", true);
  699. pref("network.IDN.whitelist.hu", true);
  700. pref("network.IDN.whitelist.io", true);
  701. pref("network.IDN.whitelist.ir", true);
  702. pref("network.IDN.whitelist.is", true);
  703. pref("network.IDN.whitelist.jp", true);
  704. pref("network.IDN.whitelist.kr", true);
  705. pref("network.IDN.whitelist.li", true);
  706. pref("network.IDN.whitelist.lt", true);
  707. pref("network.IDN.whitelist.no", true);
  708. pref("network.IDN.whitelist.pl", true);
  709. pref("network.IDN.whitelist.pr", true);
  710. pref("network.IDN.whitelist.se", true);
  711. pref("network.IDN.whitelist.sh", true);
  712. pref("network.IDN.whitelist.th", true);
  713. pref("network.IDN.whitelist.tm", true);
  714. pref("network.IDN.whitelist.tw", true);
  715. pref("network.IDN.whitelist.vn", true);
  716.  
  717. // non-ccTLDs
  718. pref("network.IDN.whitelist.biz", true);
  719. pref("network.IDN.whitelist.cat", true);
  720. pref("network.IDN.whitelist.info", true);
  721. pref("network.IDN.whitelist.museum", true);
  722. pref("network.IDN.whitelist.org", true);
  723.  
  724. // NOTE: Before these can be removed, one of bug 414812's tests must be updated
  725. //       or it will likely fail!  Please CC jwalden+bmo on the bug associated
  726. //       with removing these so he can provide a patch to make the necessary
  727. //       changes to avoid bustage.
  728. // ".test" localised TLDs for ICANN's top-level IDN trial
  729. pref("network.IDN.whitelist.xn--0zwm56d", true);
  730. pref("network.IDN.whitelist.xn--11b5bs3a9aj6g", true);
  731. pref("network.IDN.whitelist.xn--80akhbyknj4f", true);
  732. pref("network.IDN.whitelist.xn--9t4b11yi5a", true);
  733. pref("network.IDN.whitelist.xn--deba0ad", true);
  734. pref("network.IDN.whitelist.xn--g6w251d", true);
  735. pref("network.IDN.whitelist.xn--hgbk6aj7f53bba", true);
  736. pref("network.IDN.whitelist.xn--hlcj6aya9esc7a", true);
  737. pref("network.IDN.whitelist.xn--jxalpdlp", true);
  738. pref("network.IDN.whitelist.xn--kgbechtv", true);
  739. pref("network.IDN.whitelist.xn--zckzah", true);
  740.  
  741. // If a domain includes any of the following characters, it may be a spoof 
  742. // attempt and so we always display the domain name as punycode. This would 
  743. // override the settings "network.IDN_show_punycode" and 
  744. // "network.IDN.whitelist.*".
  745. pref("network.IDN.blacklist_chars", "\u0020\u00A0\u00BC\u00BD\u00BE\u01C3\u02D0\u0337\u0338\u0589\u05C3\u05F4\u0609\u060A\u066A\u06D4\u0701\u0702\u0703\u0704\u115F\u1160\u1735\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u200B\u2024\u2027\u2028\u2029\u202F\u2039\u203A\u2041\u2044\u2052\u205F\u2153\u2154\u2155\u2156\u2157\u2158\u2159\u215A\u215B\u215C\u215D\u215E\u215F\u2215\u2236\u23AE\u2571\u29F6\u29F8\u2AFB\u2AFD\u2FF0\u2FF1\u2FF2\u2FF3\u2FF4\u2FF5\u2FF6\u2FF7\u2FF8\u2FF9\u2FFA\u2FFB\u3000\u3002\u3014\u3015\u3033\u3164\u321D\u321E\u33AE\u33AF\u33C6\u33DF\uA789\uFE14\uFE15\uFE3F\uFE5D\uFE5E\uFEFF\uFF0E\uFF0F\uFF61\uFFA0\uFFF9\uFFFA\uFFFB\uFFFC\uFFFD");
  746.  
  747. // This preference specifies a list of domains for which DNS lookups will be
  748. // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
  749. // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
  750. pref("network.dns.ipv4OnlyDomains", "");
  751.  
  752. // This preference can be used to turn off IPv6 name lookups. See bug 68796.
  753. pref("network.dns.disableIPv6", false);
  754.  
  755. // This preference controls whether or not URLs with UTF-8 characters are
  756. // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
  757. pref("network.standard-url.escape-utf8", true);
  758.  
  759. // This preference controls whether or not URLs are always encoded and sent as
  760. // UTF-8.
  761. pref("network.standard-url.encode-utf8", true);
  762.  
  763. // This preference controls whether or not queries are encoded and sent as
  764. // UTF-8.
  765. pref("network.standard-url.encode-query-utf8", false);
  766.  
  767. // Idle timeout for ftp control connections - 5 minute default
  768. pref("network.ftp.idleConnectionTimeout", 300);
  769.  
  770. // directory listing format
  771. // 2: HTML
  772. // 3: XUL directory viewer
  773. // all other values are treated like 2
  774. pref("network.dir.format", 2);
  775.  
  776. // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
  777. pref("network.prefetch-next", true);
  778.  
  779.  
  780. // The following prefs pertain to the negotiate-auth extension (see bug 17578),
  781. // which provides transparent Kerberos or NTLM authentication using the SPNEGO
  782. // protocol.  Each pref is a comma-separated list of keys, where each key has
  783. // the format:
  784. //   [scheme "://"] [host [":" port]]
  785. // For example, "foo.com" would match "http://www.foo.com/bar", etc.
  786.  
  787. // This list controls which URIs can use the negotiate-auth protocol.  This
  788. // list should be limited to the servers you know you'll need to login to.
  789. pref("network.negotiate-auth.trusted-uris", "");
  790. // This list controls which URIs can support delegation.
  791. pref("network.negotiate-auth.delegation-uris", "");
  792.  
  793. // Allow SPNEGO by default when challenged by a proxy server.
  794. pref("network.negotiate-auth.allow-proxies", true);
  795.  
  796. // Path to a specific gssapi library
  797. pref("network.negotiate-auth.gsslib", "");
  798.  
  799. // Specify if the gss lib comes standard with the OS
  800. pref("network.negotiate-auth.using-native-gsslib", true);
  801.  
  802. //@line 814 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  803.  
  804. // The following prefs are used to enable automatic use of the operating
  805. // system's NTLM implementation to silently authenticate the user with their
  806. // Window's domain logon.  The trusted-uris pref follows the format of the
  807. // trusted-uris pref for negotiate authentication.
  808. pref("network.automatic-ntlm-auth.allow-proxies", true);
  809. pref("network.automatic-ntlm-auth.trusted-uris", "");
  810.  
  811. // This preference controls whether or not the LM hash will be included in
  812. // response to a NTLM challenge.  By default, this is disabled since servers
  813. // should almost never need the LM hash, and the LM hash is what makes NTLM
  814. // authentication less secure.  See bug 250691 for further details.
  815. // NOTE: automatic-ntlm-auth which leverages the OS-provided NTLM
  816. //       implementation will not be affected by this preference.
  817. pref("network.ntlm.send-lm-response", false);
  818.  
  819. pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
  820.  
  821. //@line 834 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  822. pref("network.proxy.type",                  5);
  823. //@line 841 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  824.  
  825. pref("network.proxy.ftp",                   "");
  826. pref("network.proxy.ftp_port",              0);
  827. pref("network.proxy.gopher",                "");
  828. pref("network.proxy.gopher_port",           0);
  829. pref("network.proxy.http",                  "");
  830. pref("network.proxy.http_port",             0);
  831. pref("network.proxy.ssl",                   "");
  832. pref("network.proxy.ssl_port",              0);
  833. pref("network.proxy.socks",                 "");
  834. pref("network.proxy.socks_port",            0);
  835. pref("network.proxy.socks_version",         5);
  836. pref("network.proxy.socks_remote_dns",      false);
  837. pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
  838. pref("network.proxy.failover_timeout",      1800); // 30 minutes
  839. pref("network.online",                      true); //online/offline
  840. pref("network.cookie.cookieBehavior",       0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
  841. pref("network.cookie.lifetimePolicy",       0); // accept normally, 1-askBeforeAccepting, 2-acceptForSession,3-acceptForNDays
  842. pref("network.cookie.alwaysAcceptSessionCookies", false);
  843. pref("network.cookie.prefsMigrated",        false);
  844. pref("network.cookie.lifetime.days",        90);
  845.  
  846. // The PAC file to load.  Ignored unless network.proxy.type is 2.
  847. pref("network.proxy.autoconfig_url", "");
  848.  
  849. // If we cannot load the PAC file, then try again (doubling from interval_min
  850. // until we reach interval_max or the PAC file is successfully loaded).
  851. pref("network.proxy.autoconfig_retry_interval_min", 5);    // 5 seconds
  852. pref("network.proxy.autoconfig_retry_interval_max", 300);  // 5 minutes
  853.  
  854. pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
  855. pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
  856.  
  857. pref("intl.accept_languages",               "chrome://global/locale/intl.properties");
  858. pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
  859. pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
  860. pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
  861. pref("intl.charsetmenu.browser.static",     "chrome://global/locale/intl.properties");
  862. pref("intl.charsetmenu.browser.more1",      "chrome://global/locale/intl.properties");
  863. pref("intl.charsetmenu.browser.more2",      "chrome://global/locale/intl.properties");
  864. pref("intl.charsetmenu.browser.more3",      "chrome://global/locale/intl.properties");
  865. pref("intl.charsetmenu.browser.more4",      "chrome://global/locale/intl.properties");
  866. pref("intl.charsetmenu.browser.more5",      "chrome://global/locale/intl.properties");
  867. pref("intl.charsetmenu.browser.unicode",    "chrome://global/locale/intl.properties");
  868. pref("intl.charsetmenu.mailedit",           "chrome://global/locale/intl.properties");
  869. pref("intl.charsetmenu.browser.cache",      "");
  870. pref("intl.charsetmenu.mailview.cache",     "");
  871. pref("intl.charsetmenu.composer.cache",     "");
  872. pref("intl.charsetmenu.browser.cache.size", 5);
  873. pref("intl.charset.detector",               "chrome://global/locale/intl.properties");
  874. pref("intl.charset.default",                "chrome://global-platform/locale/intl.properties");
  875. pref("intl.ellipsis",                       "chrome://global-platform/locale/intl.properties");
  876. pref("intl.locale.matchOS",                 false);
  877. // fallback charset list for Unicode conversion (converting from Unicode)
  878. // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
  879. // for ISO-8859-1
  880. pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
  881. pref("font.language.group",                 "chrome://global/locale/intl.properties");
  882.  
  883. pref("font.mathfont-family", "STIXNonUnicode, STIXSize1, STIXGeneral, Standard Symbols L, DejaVu Sans, Cambria Math");
  884.  
  885. // Some CJK fonts have bad underline offset, their CJK character glyphs are overlapped (or adjoined)  to its underline.
  886. // These fonts are ignored the underline offset, instead of it, the underline is lowered to bottom of its em descent.
  887. pref("font.blacklist.underline_offset", "FangSong,Gulim,GulimChe,MingLiU,MingLiU-ExtB,MingLiU_HKSCS,MingLiU-HKSCS-ExtB,MS Gothic,MS Mincho,MS PGothic,MS PMincho,MS UI Gothic,PMingLiU,PMingLiU-ExtB,SimHei,SimSun,SimSun-ExtB,Hei,Kai,Apple LiGothic,Apple LiSung,Osaka");
  888.  
  889. pref("images.dither", "auto");
  890. pref("security.directory",              "");
  891.  
  892. pref("signed.applets.codebase_principal_support", false);
  893. pref("security.checkloaduri", true);
  894. pref("security.xpconnect.plugin.unrestricted", true);
  895. // security-sensitive dialogs should delay button enabling. In milliseconds.
  896. pref("security.dialog_enable_delay", 2000);
  897.  
  898. // Modifier key prefs: default to Windows settings,
  899. // menu access key = alt, accelerator key = control.
  900. // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
  901. pref("ui.key.accelKey", 17);
  902. pref("ui.key.menuAccessKey", 18);
  903. pref("ui.key.generalAccessKey", -1);
  904.  
  905. // If generalAccessKey is -1, use the following two prefs instead.
  906. // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
  907. // (values can be combined, e.g. 5 for Alt+Shift)
  908. pref("ui.key.chromeAccess", 4);
  909. pref("ui.key.contentAccess", 5);
  910.  
  911. pref("ui.key.menuAccessKeyFocuses", false); // overridden below
  912. pref("ui.key.saveLink.shift", true); // true = shift, false = meta
  913.  
  914. // Middle-mouse handling
  915. pref("middlemouse.paste", false);
  916. pref("middlemouse.openNewWindow", true);
  917. pref("middlemouse.contentLoadURL", false);
  918. pref("middlemouse.scrollbarPosition", false);
  919.  
  920. // Clipboard behavior
  921. pref("clipboard.autocopy", false);
  922.  
  923. // mouse wheel scroll transaction period of time (in milliseconds)
  924. pref("mousewheel.transaction.timeout", 1500);
  925. // mouse wheel scroll transaction is held even if the mouse cursor is moved.
  926. pref("mousewheel.transaction.ignoremovedelay", 100);
  927.  
  928. // Macbook touchpad two finger pixel scrolling
  929. pref("mousewheel.enable_pixel_scrolling", true);
  930.  
  931. // 0=lines, 1=pages, 2=history , 3=text size
  932. pref("mousewheel.withnokey.action",0);
  933. pref("mousewheel.withnokey.numlines",1);    
  934. pref("mousewheel.withnokey.sysnumlines",true);
  935. pref("mousewheel.withcontrolkey.action",0);
  936. pref("mousewheel.withcontrolkey.numlines",1);
  937. pref("mousewheel.withcontrolkey.sysnumlines",true);
  938. // mousewheel.withshiftkey, see the Mac note below.
  939. pref("mousewheel.withshiftkey.action",0);
  940. pref("mousewheel.withshiftkey.numlines",1);
  941. pref("mousewheel.withshiftkey.sysnumlines",true);
  942. pref("mousewheel.withaltkey.action",2);
  943. pref("mousewheel.withaltkey.numlines",1);
  944. pref("mousewheel.withaltkey.sysnumlines",false);
  945. pref("mousewheel.withmetakey.action",0);
  946. pref("mousewheel.withmetakey.numlines",1);
  947. pref("mousewheel.withmetakey.sysnumlines",true);
  948.  
  949. // activate horizontal scrolling by default
  950. pref("mousewheel.horizscroll.withnokey.action",0);
  951. pref("mousewheel.horizscroll.withnokey.numlines",1);
  952. pref("mousewheel.horizscroll.withnokey.sysnumlines",true);
  953. pref("mousewheel.horizscroll.withcontrolkey.action",0);
  954. pref("mousewheel.horizscroll.withcontrolkey.numlines",1);
  955. pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",true);
  956. pref("mousewheel.horizscroll.withshiftkey.action",0);
  957. pref("mousewheel.horizscroll.withshiftkey.numlines",1);
  958. pref("mousewheel.horizscroll.withshiftkey.sysnumlines",true);
  959. pref("mousewheel.horizscroll.withaltkey.action",2);
  960. pref("mousewheel.horizscroll.withaltkey.numlines",-1);
  961. pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
  962. pref("mousewheel.horizscroll.withmetakey.action",0);
  963. pref("mousewheel.horizscroll.withmetakey.numlines",1);
  964. pref("mousewheel.horizscroll.withmetakey.sysnumlines",true);
  965.  
  966. pref("profile.confirm_automigration",true);
  967. // profile.migration_behavior determines how the profiles root is set
  968. // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
  969. // 1 - create one based on the NS4.x profile root
  970. // 2 - use, if not empty, profile.migration_directory otherwise same as 0
  971. pref("profile.migration_behavior",0);
  972. pref("profile.migration_directory", "");
  973.  
  974. // the amount of time (in seconds) that must elapse
  975. // before we think your mozilla profile is defunct
  976. // and you'd benefit from re-migrating from 4.x
  977. // see bug #137886 for more details
  978. //
  979. // if -1, we never think your profile is defunct
  980. // and users will never see the remigrate UI.
  981. pref("profile.seconds_until_defunct", -1);
  982. // We can show it anytime from menus
  983. pref("profile.manage_only_at_launch", false);
  984.  
  985. pref("prefs.converted-to-utf8",false);
  986.  
  987. // --------------------------------------------------
  988. // IBMBIDI 
  989. // --------------------------------------------------
  990. //
  991. // ------------------
  992. //  Text Direction
  993. // ------------------
  994. // 1 = directionLTRBidi *
  995. // 2 = directionRTLBidi
  996. pref("bidi.direction", 1);
  997. // ------------------
  998. //  Text Type
  999. // ------------------
  1000. // 1 = charsettexttypeBidi *
  1001. // 2 = logicaltexttypeBidi
  1002. // 3 = visualtexttypeBidi
  1003. pref("bidi.texttype", 1);
  1004. // ------------------
  1005. //  Controls Text Mode
  1006. // ------------------
  1007. // 1 = logicalcontrolstextmodeBidiCmd
  1008. // 2 = visualcontrolstextmodeBidi <-- NO LONGER SUPPORTED
  1009. // 3 = containercontrolstextmodeBidi *
  1010. pref("bidi.controlstextmode", 1);
  1011. // ------------------
  1012. //  Numeral Style
  1013. // ------------------
  1014. // 0 = nominalnumeralBidi *
  1015. // 1 = regularcontextnumeralBidi
  1016. // 2 = hindicontextnumeralBidi
  1017. // 3 = arabicnumeralBidi
  1018. // 4 = hindinumeralBidi
  1019. // 5 = persiancontextnumeralBidi
  1020. // 6 = persiannumeralBidi
  1021. pref("bidi.numeral", 0);
  1022. // ------------------
  1023. //  Support Mode
  1024. // ------------------
  1025. // 1 = mozillaBidisupport *
  1026. // 2 = OsBidisupport
  1027. // 3 = disableBidisupport
  1028. pref("bidi.support", 1);
  1029. // ------------------
  1030. //  Charset Mode
  1031. // ------------------
  1032. // 1 = doccharactersetBidi *
  1033. // 2 = defaultcharactersetBidi
  1034. pref("bidi.characterset", 1);
  1035. // Whether delete and backspace should immediately delete characters not
  1036. // visually adjacent to the caret, or adjust the visual position of the caret
  1037. // on the first keypress and delete the character on a second keypress
  1038. pref("bidi.edit.delete_immediately", false);
  1039.  
  1040. // Bidi caret movement style:
  1041. // 0 = logical
  1042. // 1 = visual
  1043. // 2 = visual, but logical during selection
  1044. pref("bidi.edit.caret_movement_style", 2);
  1045.  
  1046. // Setting this pref to |true| forces Bidi UI menu items and keyboard shortcuts
  1047. // to be exposed, and enables the directional caret hook. By default, only
  1048. // expose it for bidi-associated system locales.
  1049. pref("bidi.browser.ui", false);
  1050.  
  1051. // used for double-click word selection behavior. Win will override.
  1052. pref("layout.word_select.eat_space_to_next_word", false);
  1053. pref("layout.word_select.stop_at_punctuation", true);
  1054.  
  1055. // controls caret style and word-delete during text selection
  1056. // 0 = use platform default
  1057. // 1 = caret moves and blinks as when there is no selection; word
  1058. //     delete deselects the selection and then deletes word (Windows default)
  1059. // 2 = caret moves to selection edge and is not visible during selection; 
  1060. //     word delete deletes the selection (Mac default)
  1061. // 3 = caret moves and blinks as when there is no selection; word delete
  1062. //     deletes the selection (Unix default)
  1063. pref("layout.selection.caret_style", 0);
  1064.  
  1065. // pref to control whether or not to replace backslashes with Yen signs
  1066. // in documents encoded in one of Japanese legacy encodings (EUC-JP, 
  1067. // Shift_JIS, ISO-2022-JP)
  1068. pref("layout.enable_japanese_specific_transform", false);
  1069.  
  1070. // pref to force frames to be resizable
  1071. pref("layout.frames.force_resizability", false);
  1072.  
  1073. // pref to report CSS errors to the error console
  1074. pref("layout.css.report_errors", true);
  1075.  
  1076. // Should the :visited selector ever match (otherwise :link matches instead)?
  1077. pref("layout.css.visited_links_enabled", true);
  1078.  
  1079. // Override DPI. A value of -1 means use the maximum of 96 and the system DPI.
  1080. // A value of 0 means use the system DPI. A positive value is used as the DPI.
  1081. // This sets the physical size of a device pixel and thus controls the
  1082. // interpretation of physical units such as "pt".
  1083. pref("layout.css.dpi", -1);
  1084.  
  1085. // Set the number of device pixels per CSS pixel. A value <= 0 means choose
  1086. // automatically based on the DPI. A positive value is used as-is. This effectively
  1087. // controls the size of a CSS "px". This is only used for pixel-based
  1088. // (screen) output devices.
  1089. pref("layout.css.devPixelsPerPx", -1);
  1090.  
  1091. // pref for which side vertical scrollbars should be on
  1092. // 0 = end-side in UI direction
  1093. // 1 = end-side in document/content direction
  1094. // 2 = right
  1095. // 3 = left
  1096. pref("layout.scrollbar.side", 0);
  1097.  
  1098. // pref to permit users to make verified SOAP calls by default
  1099. pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
  1100.  
  1101. // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
  1102. pref("plugin.override_internal_types", false);
  1103. pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
  1104.  
  1105. // See bug 136985.  Gives embedders a pref to hook into to show
  1106. // a popup blocker if they choose.
  1107. pref("browser.popups.showPopupBlocker", true);
  1108.  
  1109. // Pref to control whether the viewmanager code does double-buffering or not
  1110. // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
  1111. pref("viewmanager.do_doublebuffering", true);
  1112.  
  1113. // which files will be selected for roaming by default.
  1114. // See sroaming/content/prefs/all.js
  1115. pref("roaming.default.files", "bookmarks.html,abook.mab,cookies.txt");
  1116. // display some general warning to the user about making backups, security etc.
  1117. pref("roaming.showInitialWarning", true);
  1118.  
  1119. // whether use prefs from system
  1120. pref("config.use_system_prefs", false);
  1121.  
  1122. // if the system has enabled accessibility
  1123. pref("config.use_system_prefs.accessibility", false);
  1124.  
  1125. // enable single finger gesture input (win7+ tablets)
  1126. pref("gestures.enable_single_finger_input", true);
  1127.  
  1128. /*
  1129.  * What are the entities that you want Mozilla to save using mnemonic
  1130.  * names rather than numeric codes? E.g. If set, we'll output  
  1131.  * otherwise, we may output 0xa0 depending on the charset.
  1132.  *
  1133.  * "none"   : don't use any entity names; only use numeric codes.
  1134.  * "basic"  : use entity names just for   & < > " for 
  1135.  *            interoperability/exchange with products that don't support more
  1136.  *            than that.
  1137.  * "latin1" : use entity names for 8bit accented letters and other special
  1138.  *            symbols between 128 and 255.
  1139.  * "html"   : use entity names for 8bit accented letters, greek letters, and
  1140.  *            other special markup symbols as defined in HTML4.
  1141.  */
  1142. //pref("editor.encode_entity",                 "html");
  1143.  
  1144. pref("editor.resizing.preserve_ratio",       true);
  1145. pref("editor.positioning.offset",            0);
  1146.  
  1147. // Disable slow script warnings for chrome by default - bug 492410
  1148. pref("dom.max_chrome_script_run_time", 0);
  1149. pref("dom.max_script_run_time", 10);
  1150.  
  1151. pref("svg.enabled", true);
  1152.  
  1153. pref("font.minimum-size.ar", 0);
  1154. pref("font.minimum-size.x-armn", 0);
  1155. pref("font.minimum-size.x-beng", 0);
  1156. pref("font.minimum-size.x-baltic", 0);
  1157. pref("font.minimum-size.x-central-euro", 0);
  1158. pref("font.minimum-size.zh-CN", 0);
  1159. pref("font.minimum-size.zh-HK", 0);
  1160. pref("font.minimum-size.zh-TW", 0);
  1161. pref("font.minimum-size.x-cyrillic", 0);
  1162. pref("font.minimum-size.x-devanagari", 0);
  1163. pref("font.minimum-size.x-ethi", 0);
  1164. pref("font.minimum-size.x-geor", 0);
  1165. pref("font.minimum-size.el", 0);
  1166. pref("font.minimum-size.x-gujr", 0);
  1167. pref("font.minimum-size.x-guru", 0);
  1168. pref("font.minimum-size.he", 0);
  1169. pref("font.minimum-size.ja", 0);
  1170. pref("font.minimum-size.x-knda", 0);
  1171. pref("font.minimum-size.x-khmr", 0);
  1172. pref("font.minimum-size.ko", 0);
  1173. pref("font.minimum-size.x-mlym", 0);
  1174. pref("font.minimum-size.x-orya", 0);
  1175. pref("font.minimum-size.x-sinh", 0);
  1176. pref("font.minimum-size.x-tamil", 0);
  1177. pref("font.minimum-size.x-telu", 0);
  1178. pref("font.minimum-size.th", 0);
  1179. pref("font.minimum-size.tr", 0);
  1180. pref("font.minimum-size.x-cans", 0);
  1181. pref("font.minimum-size.x-western", 0);
  1182. pref("font.minimum-size.x-unicode", 0);
  1183. pref("font.minimum-size.x-user-def", 0);
  1184.  
  1185. //@line 1581 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1186.  
  1187. //@line 1998 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1188.  
  1189. //@line 2199 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1190.  
  1191. //@line 2293 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1192.  
  1193. //@line 2296 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1194. // Handled differently under Mac/Windows
  1195. pref("network.hosts.smtp_server", "localhost");
  1196. pref("network.hosts.pop_server", "pop");
  1197. pref("network.protocol-handler.warn-external.file", false);
  1198. pref("browser.drag_out_of_frame_style", 1);
  1199. pref("editor.singleLine.pasteNewlines", 0);
  1200.  
  1201. // Middle-mouse handling
  1202. pref("middlemouse.paste", true);
  1203. pref("middlemouse.contentLoadURL", true);
  1204. pref("middlemouse.openNewWindow", true);
  1205. pref("middlemouse.scrollbarPosition", true);
  1206.  
  1207. // Clipboard behavior
  1208. pref("clipboard.autocopy", true);
  1209.  
  1210. pref("browser.urlbar.clickSelectsAll", false);
  1211.  
  1212. // Tab focus model bit field:
  1213. // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
  1214. // Leave this at the default, 7, to match mozilla1.0-era user expectations.
  1215. // pref("accessibility.tabfocus", 1);
  1216.  
  1217. // autocomplete keyboard grab workaround
  1218. pref("autocomplete.grab_during_popup", true);
  1219. pref("autocomplete.ungrab_during_mode_switch", true);
  1220.  
  1221. // Default to using the system filepicker if possible, but allow
  1222. // toggling to use the XUL filepicker
  1223. pref("ui.allow_platform_file_picker", true);
  1224.  
  1225. // should NetworkManager be authoritative for online/offline status?
  1226. pref("toolkit.networkmanager.disable", true);
  1227.  
  1228. pref("helpers.global_mime_types_file", "/etc/mime.types");
  1229. pref("helpers.global_mailcap_file", "/etc/mailcap");
  1230. pref("helpers.private_mime_types_file", "~/.mime.types");
  1231. pref("helpers.private_mailcap_file", "~/.mailcap");
  1232. pref("java.global_java_version_file", "/etc/.java/versions");
  1233. pref("java.private_java_version_file", "~/.java/versions");
  1234. pref("java.default_java_location_solaris", "/usr/j2se");
  1235. pref("java.default_java_location_others", "/usr/java");
  1236. pref("java.java_plugin_library_name", "javaplugin_oji");
  1237. pref("applications.telnet", "xterm -e telnet %h %p");
  1238. pref("applications.tn3270", "xterm -e tn3270 %h");
  1239. pref("applications.rlogin", "xterm -e rlogin %h");
  1240. pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
  1241. pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
  1242. pref("print.printer_list", ""); // list of printers, separated by spaces
  1243. pref("print.print_reversed", false);
  1244. pref("print.print_color", true);
  1245. pref("print.print_landscape", false);
  1246. pref("print.print_paper_size", 0);
  1247.  
  1248. // print_extra_margin enables platforms to specify an extra gap or margin
  1249. // around the content of the page for Print Preview only
  1250. pref("print.print_extra_margin", 0); // twips
  1251.  
  1252. pref("font.allow_double_byte_special_chars", true);
  1253. // font names
  1254.  
  1255. pref("font.alias-list", "sans,sans-serif,serif,monospace");
  1256.  
  1257. // ar
  1258.  
  1259. pref("font.name.serif.el", "serif");
  1260. pref("font.name.sans-serif.el", "sans-serif");
  1261. pref("font.name.monospace.el", "monospace");
  1262.  
  1263. pref("font.name.serif.he", "serif");
  1264. pref("font.name.sans-serif.he", "sans-serif");
  1265. pref("font.name.monospace.he", "monospace");
  1266.  
  1267. pref("font.name.serif.ja", "serif");
  1268. pref("font.name.sans-serif.ja", "sans-serif");
  1269. pref("font.name.monospace.ja", "monospace");
  1270.  
  1271. pref("font.name.serif.ko", "serif");
  1272. pref("font.name.sans-serif.ko", "sans-serif");
  1273. pref("font.name.monospace.ko", "monospace");
  1274.  
  1275. pref("font.name.serif.th", "serif");
  1276. pref("font.name.sans-serif.th", "sans-serif");
  1277. pref("font.name.monospace.th", "monospace");
  1278.  
  1279. pref("font.name.serif.tr", "serif");
  1280. pref("font.name.sans-serif.tr", "sans-serif");
  1281. pref("font.name.monospace.tr", "monospace");
  1282.  
  1283. pref("font.name.serif.x-baltic", "serif");
  1284. pref("font.name.sans-serif.x-baltic", "sans-serif");
  1285. pref("font.name.monospace.x-baltic", "monospace");
  1286.  
  1287. pref("font.name.serif.x-central-euro", "serif");
  1288. pref("font.name.sans-serif.x-central-euro", "sans-serif");
  1289. pref("font.name.monospace.x-central-euro", "monospace");
  1290.  
  1291. pref("font.name.serif.x-cyrillic", "serif");
  1292. pref("font.name.sans-serif.x-cyrillic", "sans-serif");
  1293. pref("font.name.monospace.x-cyrillic", "monospace");
  1294.  
  1295. pref("font.name.serif.x-unicode", "serif");
  1296. pref("font.name.sans-serif.x-unicode", "sans-serif");
  1297. pref("font.name.monospace.x-unicode", "monospace");
  1298.  
  1299. pref("font.name.serif.x-user-def", "serif");
  1300. pref("font.name.sans-serif.x-user-def", "sans-serif");
  1301. pref("font.name.monospace.x-user-def", "monospace");
  1302.  
  1303. pref("font.name.serif.x-western", "serif");
  1304. pref("font.name.sans-serif.x-western", "sans-serif");
  1305. pref("font.name.monospace.x-western", "monospace");
  1306.  
  1307. pref("font.name.serif.zh-CN", "serif");
  1308. pref("font.name.sans-serif.zh-CN", "sans-serif");
  1309. pref("font.name.monospace.zh-CN", "monospace");
  1310.  
  1311. // ming_uni.ttf (HKSCS-2001) 
  1312. // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
  1313. pref("font.name.serif.zh-HK", "serif");
  1314. pref("font.name.sans-serif.zh-HK", "sans-serif");
  1315. pref("font.name.monospace.zh-HK", "monospace");
  1316.  
  1317. // zh-TW
  1318.  
  1319. pref("font.default.ar", "sans-serif");
  1320. pref("font.size.variable.ar", 16);
  1321. pref("font.size.fixed.ar", 12);
  1322.  
  1323. pref("font.default.el", "serif");
  1324. pref("font.size.variable.el", 16);
  1325. pref("font.size.fixed.el", 12);
  1326.  
  1327. pref("font.default.he", "sans-serif");
  1328. pref("font.size.variable.he", 16);
  1329. pref("font.size.fixed.he", 12);
  1330.  
  1331. pref("font.default.ja", "sans-serif");
  1332. pref("font.size.variable.ja", 16);
  1333. pref("font.size.fixed.ja", 16);
  1334.  
  1335. pref("font.default.ko", "sans-serif");
  1336. pref("font.size.variable.ko", 16);
  1337. pref("font.size.fixed.ko", 16);
  1338.  
  1339. pref("font.default.th", "serif");
  1340. pref("font.size.variable.th", 16);
  1341. pref("font.size.fixed.th", 13);
  1342. pref("font.minimum-size.th", 13);
  1343.  
  1344. pref("font.default.tr", "serif");
  1345. pref("font.size.variable.tr", 16);
  1346. pref("font.size.fixed.tr", 12);
  1347.  
  1348. pref("font.default.x-baltic", "serif");
  1349. pref("font.size.variable.x-baltic", 16);
  1350. pref("font.size.fixed.x-baltic", 12);
  1351.  
  1352. pref("font.default.x-central-euro", "serif");
  1353. pref("font.size.variable.x-central-euro", 16);
  1354. pref("font.size.fixed.x-central-euro", 12);
  1355.  
  1356. pref("font.default.x-cyrillic", "serif");
  1357. pref("font.size.variable.x-cyrillic", 16);
  1358. pref("font.size.fixed.x-cyrillic", 12);
  1359.  
  1360. pref("font.default.x-unicode", "serif");
  1361. pref("font.size.variable.x-unicode", 16);
  1362. pref("font.size.fixed.x-unicode", 12);
  1363.  
  1364. pref("font.default.x-user-def", "serif");
  1365. pref("font.size.variable.x-user-def", 16);
  1366. pref("font.size.fixed.x-user-def", 12);
  1367.  
  1368. pref("font.default.x-western", "serif");
  1369. pref("font.size.variable.x-western", 16);
  1370. pref("font.size.fixed.x-western", 12);
  1371.  
  1372. pref("font.default.zh-CN", "sans-serif");
  1373. pref("font.size.variable.zh-CN", 16);
  1374. pref("font.size.fixed.zh-CN", 16);
  1375.  
  1376. pref("font.default.zh-TW", "sans-serif");
  1377. pref("font.size.variable.zh-TW", 16);
  1378. pref("font.size.fixed.zh-TW", 16);
  1379.  
  1380. pref("font.default.zh-HK", "sans-serif");
  1381. pref("font.size.variable.zh-HK", 16);
  1382. pref("font.size.fixed.zh-HK", 16);
  1383.  
  1384. pref("font.default.x-devanagari", "serif");
  1385. pref("font.size.variable.x-devanagari", 16);
  1386. pref("font.size.fixed.x-devanagari", 13);
  1387.  
  1388. pref("font.default.x-tamil", "serif");
  1389. pref("font.size.variable.x-tamil", 16);
  1390. pref("font.size.fixed.x-tamil", 13);
  1391.  
  1392. pref("font.default.x-armn", "serif");
  1393. pref("font.size.variable.x-armn", 16);
  1394. pref("font.size.fixed.x-armn", 13);
  1395.  
  1396. pref("font.default.x-beng", "serif");
  1397. pref("font.size.variable.x-beng", 16);
  1398. pref("font.size.fixed.x-beng", 13);
  1399.  
  1400. pref("font.default.x-cans", "serif");
  1401. pref("font.size.variable.x-cans", 16);
  1402. pref("font.size.fixed.x-cans", 13);
  1403.  
  1404. pref("font.default.x-ethi", "serif");
  1405. pref("font.size.variable.x-ethi", 16);
  1406. pref("font.size.fixed.x-ethi", 13);
  1407.  
  1408. pref("font.default.x-geor", "serif");
  1409. pref("font.size.variable.x-geor", 16);
  1410. pref("font.size.fixed.x-geor", 13);
  1411.  
  1412. pref("font.default.x-gujr", "serif");
  1413. pref("font.size.variable.x-gujr", 16);
  1414. pref("font.size.fixed.x-gujr", 13);
  1415.  
  1416. pref("font.default.x-guru", "serif");
  1417. pref("font.size.variable.x-guru", 16);
  1418. pref("font.size.fixed.x-guru", 13);
  1419.  
  1420. pref("font.default.x-khmr", "serif");
  1421. pref("font.size.variable.x-khmr", 16);
  1422. pref("font.size.fixed.x-khmr", 13);
  1423.  
  1424. pref("font.default.x-mlym", "serif");
  1425. pref("font.size.variable.x-mlym", 16);
  1426. pref("font.size.fixed.x-mlym", 13);
  1427.  
  1428. pref("font.default.x-orya", "serif");
  1429. pref("font.size.variable.x-orya", 16);
  1430. pref("font.size.fixed.x-orya", 13);
  1431.  
  1432. pref("font.default.x-telu", "serif");
  1433. pref("font.size.variable.x-telu", 16);
  1434. pref("font.size.fixed.x-telu", 13);
  1435.  
  1436. pref("font.default.x-knda", "serif");
  1437. pref("font.size.variable.x-knda", 16);
  1438. pref("font.size.fixed.x-knda", 13);
  1439.  
  1440. pref("font.default.x-sinh", "serif");
  1441. pref("font.size.variable.x-sinh", 16);
  1442. pref("font.size.fixed.x-sinh", 13);
  1443.  
  1444. /* PostScript print module prefs */
  1445. // pref("print.postscript.enabled",      true);
  1446. pref("print.postscript.paper_size",    "letter");
  1447. pref("print.postscript.orientation",   "portrait");
  1448. pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
  1449.  
  1450. // On GTK2 platform, we should use topmost window level for the default window
  1451. // level of <panel> element of XUL. GTK2 has only two window types. One is
  1452. // normal top level window, other is popup window. The popup window is always
  1453. // topmost window level, therefore, we are using normal top level window for
  1454. // non-topmost panel, but it is pretty hacky. On some Window Managers, we have
  1455. // 2 problems:
  1456. // 1. The non-topmost panel steals focus from its parent window at showing.
  1457. // 2. The parent of non-topmost panel is not activated when the panel is hidden.
  1458. // So, we have no reasons we should use non-toplevel window for popup.
  1459. pref("ui.panel.default_level_parent", true);
  1460.  
  1461. //@line 2566 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1462.  
  1463. //@line 2634 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1464.  
  1465. //@line 2660 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1466.  
  1467. //@line 2680 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1468.  
  1469. //@line 2688 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1470.  
  1471. // Login Manager prefs
  1472. pref("signon.rememberSignons",              true);
  1473. pref("signon.expireMasterPassword",         false);
  1474. pref("signon.SignonFileName",               "signons.txt"); // obsolete 
  1475. pref("signon.SignonFileName2",              "signons2.txt"); // obsolete
  1476. pref("signon.SignonFileName3",              "signons3.txt"); // obsolete
  1477. pref("signon.autofillForms",                true); 
  1478. pref("signon.debug",                        false); // logs to Error Console
  1479.  
  1480. // Zoom prefs
  1481. pref("browser.zoom.full", false);
  1482. pref("zoom.minPercent", 30);
  1483. pref("zoom.maxPercent", 300);
  1484. pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3");
  1485.  
  1486. // Image cache prefs
  1487. // The maximum size, in bytes, of the decoded images we cache
  1488. pref("image.cache.size", 5242880);
  1489. // A weight, from 0-1000, to place on time when comparing to size.
  1490. // Size is given a weight of 1000 - timeweight.
  1491. pref("image.cache.timeweight", 500);
  1492.  
  1493. //@line 2717 "/build/buildd/xulrunner-1.9.1-1.9.1.5+nobinonly/build-tree/mozilla/modules/libpref/src/init/all.js"
  1494.  
  1495. // Enable/Disable the geolocation API for content
  1496. pref("geo.enabled", true);
  1497.